package pishen;

import java.io.Serializable;

public class CombineLink implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -5264018297656257283L;
	private String target;
	private double weight;

	public CombineLink(String target, double weight) {
		this.target = target;
		this.weight = weight;
	}

	public void addWeight(double addedWeight) {
		this.weight += addedWeight;
	}

	public double getWeight() {
		return this.weight;
	}

	public String getTarget() {
		return target;
	}
}
